package com.beyond.trace.domain.pojo.warn;

import com.beyond.trace.domain.pojo.PageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: WarnRecordPageQuery
 * @author: z越
 * @date: 2023/2/24  13:54
 * @description 预警记录分页查询参数模型
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("预警记录分页查询参数模型")
public class WarnRecordPageQuery extends PageQuery {
    /**预警类型*/
    @ApiModelProperty("预警类型")
    private String warnType;
    /**设备名称*/
    @ApiModelProperty("设备名称")
    private String deviceName;
    /**预警等级*/
    @ApiModelProperty("预警等级")
    private String warnGrade;
    /**预警时间*/
    @ApiModelProperty("预警时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String warnTime;

    @ApiModelProperty("部门Id,大屏用")
    private String departId;

}
